package com.example.demo.service;

import com.example.demo.entity.RegionStats;

import java.io.IOException;
import java.util.List;

/**
 * Author: wuhaoduan
 * Date: 2021/4/27 9:50
 */
public interface COVID19MsgService {
    /**
     * 获取疫情数据
     */
    void getRegionStates() throws IOException;

    List<RegionStats> getAllMsg();

    List<RegionStats> getMsgByCountry(String country,String state);
}
